// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2005-4-30

#ifndef __CRC_H__JOY_SRC_COMMON_GUARD__
#define __CRC_H__JOY_SRC_COMMON_GUARD__

#pragma once

namespace JoyGuard
{

//##ModelId=44C4B60E00F0
class Crc
{
public:
	//##ModelId=44C4B60E00FA
    DWORD m_hash;
public:
	//##ModelId=44C4B60E00FB
    Crc(DWORD seed = 0);

	//##ModelId=44C4B60E00FD
    void Update(const void* buf, int len);
	//##ModelId=44C4B60E010A
    DWORD Final();
};

} // namespace JoyGuard

#endif  // __CRC_H__JOY_SRC_COMMON_GUARD__
